import request from '@/utils/request'

// 获取首页统计数据
export function getDashboardData() {
  return request({
    url: '/system/dashboard/data',
    method: 'get'
  })
}

// 获取活动趋势数据
export function getActivityTrend(params) {
  return request({
    url: '/system/dashboard/activityTrend',
    method: 'get',
    params
  })
}

// 获取热门活动排行
export function getHotActivities() {
  return request({
    url: '/system/dashboard/hotActivities',
    method: 'get'
  })
}

// 获取积分兑换情况
export function getExchangeStats() {
  return request({
    url: '/system/dashboard/exchangeStats',
    method: 'get'
  })
} 